-
Home
-
Offload, AI & Optimize with Cloudflare Images
-
1.9.0
-
Code
-
Classes
- Image
Total Complexity |
61 |
Dependencies |
1 |
Dependents |
3 |
Total lines |
514 |
Lines of code |
194 |
Logical lines of code |
116 |
Comment lines |
242 |
Methods |
19 |
Properties |
10 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
generate_url() |
A |
46 |
12 |
36 |
process() |
A |
49 |
11 |
28 |
attachment_url_to_post_id() |
S |
54 |
4 |
23 |
check_if_cf_image() |
S |
58 |
4 |
15 |
calculate_size() |
S |
60 |
4 |
12 |
get_crop_string() |
S |
62 |
4 |
11 |
process_image() |
S |
67 |
4 |
8 |
add_attribute() |
S |
63 |
4 |
9 |
get_attachment_id() |
S |
62 |
3 |
11 |
get_processed() |
S |
70 |
2 |
6 |
is_source_tag() |
S |
78 |
1 |
3 |
get_width() |
S |
82 |
1 |
3 |
get_cf_image() |
S |
82 |
1 |
3 |
__construct() |
S |
65 |
1 |
9 |
get_srcset() |
S |
82 |
1 |
3 |
get_src() |
S |
82 |
1 |
3 |
replace_cdn_url() |
S |
74 |
1 |
4 |
get_attribute() |
S |
74 |
1 |
4 |
get_id() |
S |
82 |
1 |
3 |